package ligne2vie.topos.client.panels;

import com.google.gwt.user.client.ui.DecoratedStackPanel;

/**
 * The class {@link ParticipationPanel} models the tab, displayed in the {@link ControlPanel}, dedicated to allow users
 * to participate to complete database.
 * 
 * @author thuguerre
 * @since 1.0.0
 */
public class ParticipationPanel extends DecoratedStackPanel {

	/**
	 * Default constructor.
	 */
	public ParticipationPanel() {

		SummitEditPanel summitEditPanel = new SummitEditPanel();
		ClimbEditPanel climbEditPanel = new ClimbEditPanel();

		// --- adding required widgets
		this.add(summitEditPanel, "Sommets");
		this.add(climbEditPanel, "Courses");

		// --- setting default configuration

	}
}
